package com.emerquim.persistence.dao;
// default package


import java.util.HashSet;
import java.util.Set;


/**
 * PGrupoEtnico entity. @author MyEclipse Persistence Tools
 */

public class PGrupoEtnico  implements java.io.Serializable {


    // Fields    

     private long greId;
     private String greDesc;
     private Set casos = new HashSet(0);


    // Constructors

    /** default constructor */
    public PGrupoEtnico() {
    }

    
    /** full constructor */
    public PGrupoEtnico(String greDesc, Set casos) {
        this.greDesc = greDesc;
        this.casos = casos;
    }

   
    // Property accessors

    public long getGreId() {
        return this.greId;
    }
    
    public void setGreId(long greId) {
        this.greId = greId;
    }

    public String getGreDesc() {
        return this.greDesc;
    }
    
    public void setGreDesc(String greDesc) {
        this.greDesc = greDesc;
    }

    public Set getCasos() {
        return this.casos;
    }
    
    public void setCasos(Set casos) {
        this.casos = casos;
    }
   








}